package wsz.api;

import wsz.pojo.Token;

/**
 * 公共接口
 */
public interface UserService {

    Token modify(Token token);

    Token findByEmailAndPwd(String email, String password);

    Token findByToken(String token);

    int register(String email, String password, String code);

    boolean isRegistered(String email);
}
